import { createApp } from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'

import Vant from 'vant';
import 'vant/lib/index.css';

import configa from './config';

const app = createApp(App);

configa.CustomPlug.forEach((v) => app.config.globalProperties[v.n] = v.v);

configa.CustomPlug.forEach((item)=>{
    console.log(item);
    app.config.globalProperties[item.n] = item.v
})

app.config.globalProperties.$systemName = '用户管理系统'

app.use(store).use(router).use(Vant).mount('#app')
